export const setIsAutnenticated = (state,data ) =>{
    state.isAuthenticated =data;
}
export const setUser = (state, data) => {
    state.user = data
}
export const setProfile = (state, data) => {
    state.profile = data
}
export const setLoading = (state, data) => {
    state.loading = data
}